package xcmg.device.dao.mapper.threeGuaranteesPur;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.threeGuaranteesPur.ThreeReverseDO;
import xcmg.device.service.vo.threeGuaranteesPur.ThreeReverseVO;

import java.util.List;

@Mapper
public interface ThreeReverseMapper {
    int deleteByPrimaryKey(String id);

    int insert(ThreeReverseDO record);

    ThreeReverseDO selectByPrimaryKey(String id);

    int update(ThreeReverseDO record);

    List<ThreeReverseDO> list(ThreeReverseVO record);

    int findNumForNotAudit(@Param("ids") List<String> ids);

    List<String> findOrderList(@Param("ids") List<String> ids);

    List<String> findDeliveryOrderList(@Param("ids") List<String> ids);

    int remove(@Param("ids") List<String> ids);

    List<ThreeReverseDO> findByIds(@Param("ids") List<String> ids);

    int findCountForExportAll(ThreeReverseVO model);

    List<ThreeReverseDO> findBatchByIds(List<String> ids);

    boolean batchUpdateById(List<ThreeReverseDO> threeReverseDOList);
}
